<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{
            background-image: url(img/bji.jpg);

        }
        div{
            margin: 100px 150px;
            overflow: hidden;
            width: 340px;
            height: 660px;
            border-radius: 20px;
        }

        ul{
            width: 1700px;
            height: 660px;
            list-style: none;
            animation: move 5s linear infinite;
            cursor: pointer;/*鼠标放进变成手*/
        }
        li{
            float: left;
            width: 340px;
            height: 660px;
        }
        img{
            width: 340px;
            height: 660px;
        }
        @keyframes move{
            0%{
                transform: translateX(0px);

            }
            100%{
                transform: translateX(-1360px);

            }

        }
        ul:hover {
            animation-play-state: paused;

        }
    </style>
</head>
<body>
    <div>
        <ul>
            <li>
                <img src="img/1.JPG" alt="">
            </li>
            <li><img src="img/2.JPG" alt=""></li>
            <li><img src="img/3.JPG" alt=""></li>
            <li><img src="img/4.JPG" alt=""></li>
            <li><img src="img/1.JPG" alt=""></li>
        </ul>

    </div>
</body>
</html>